package project.Domain;

public class Task {
    private Integer id;
    private Integer leaderID;
    private String leaderName;
    private String toWho;
    private String toWhoName;
    private String content;
    private String workload;
    private String status;
    private Integer progress;//进度
    private String startTime;
    private String dueTime;


    public Task(Integer id, Integer leaderID, String leaderName, String toWho,String toWhoName, String content, String workload,String status ,Integer progress,String startTime, String dueTime) {
        this.id = id;
        this.leaderID = leaderID;
        this.leaderName = leaderName;
        this.toWho = toWho;
        this.toWhoName = toWhoName;
        this.content = content;
        this.workload = workload;
        this.status = status;
        this.progress = progress;
        this.startTime = startTime;
        this.dueTime = dueTime;
    }
    public Task() {
    }

    @Override
    public String toString() {
        return "Task{" +
                "id=" + id +
                ", leaderID=" + leaderID +
                ", leaderName='" + leaderName + '\'' +
                ", toWho='" + toWho + '\'' +
                ", toWhoName='" + toWhoName + '\'' +
                ", content='" + content + '\'' +
                ", workload='" + workload + '\'' +
                ", status='" + status + '\'' +
                ", progress='" + progress + '\'' +
                ", startTime='" + status + '\'' +
                ", startTime='" + startTime + '\'' +
                '}';
    }

    public Integer getId(){return this.id;}
    public Integer getLeaderID(){return this.leaderID;}
    public  Integer getProgress(){return this.progress;}
    public String getLeaderName(){return this.leaderName;}
    public String getToWho(){return this.toWho;}
    public String getToWhoName(){return this.toWhoName;}
    public String getContent(){return this.content;}
    public String getWorkload(){return this.workload;}
    public String getStatus(){return this.status;}
    public String getStartTime(){return this.startTime;}
    public String getDueTime(){return this.dueTime;}

    public void setId(Integer id){this.id = id;}
    public void setLeaderID(Integer id){this.leaderID = id;}
    public void setProgress(Integer progress){this.progress = progress;}
    public void setLeaderName(String id){this.leaderName = id;}
    public void setToWho(String id){this.toWho = id;}
    public void setToWhoName(String id){this.toWhoName = id;}
    public void setContent(String id){this.content = id;}
    public void setWorkload(String id){this.workload = id;}
    public void setStatus(String id){this.status = id;}
    public void setStartTime(String id){this.startTime = id;}
    public void setDueTime(String id){this.dueTime = id;}
}
